;
(function() {
	module.exports = function(host) {
		var appConfigAdmin = AppConfigPub(host);
		var server_url = appConfigAdmin.server_url;
		//管理员API URL
		var admin = appConfigAdmin.admin = {};
		admin.add_case = server_url + "admin/add_case"
		admin.update_case = server_url + "admin/update_case"
		admin.remove_case = server_url + "admin/remove_case"
		admin.add_news = server_url + "admin/add_news"
		admin.update_news = server_url + "admin/update_news"
		admin.remove_news = server_url + "admin/remove_news"
		admin.reply_message = server_url + "admin/reply_message"
		admin.remove_message = server_url + "admin/remove_message"

		//商家管理
		admin.add_bus = server_url + "admin/add_bus";
		admin.build_domain_to_bus = server_url + "admin/build_domain_to_bus";
		admin.get_bus_list = server_url + "admin/bus/list";
		admin.remove_bus = server_url + "admin/bus/remove_bus";
		admin.update_bus_state = server_url + "admin/bus/state";

		//商家功能与权限的管理
		admin.bus_permission = server_url + "admin/bus/permission/";
		//商家使用期限管理
		admin.bus_expiration_time = server_url + "admin/bus/expiration_time";
		//商家手机版风格包设置
		admin.bus_mobile_theme_name = server_url + "admin/bus/mobile_theme_name";
		// //商家经营类型设置
		// admin.bus_management_category = server_url + "admin/bus/management_category";
		//商家导航限制设置
		admin.bus_nav_perms = server_url + "admin/bus/nav_perms";

		admin.BUS_STATE = {
			"未审核": 0,
			"审核中": 1,
			"审核通过": 2,
			"审核未通过": 3,
			"冻结": 4
		};

		//域名管理
		admin.domain_list = server_url + "admin/domain/list";
		admin.add_domain = server_url + "admin/domain/add";
		admin.remove_domain = server_url + "admin/domain/remove/";
		return appConfigAdmin;
	}
	var AppConfigPub = require("./config.public.template");
}());